<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/ERPServices" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/ERPServices" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:4650/DAL.svc?xsd=xsd3" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:complexType name="GeneralObject">
    <xs:sequence>
      <xs:element minOccurs="0" name="TableName" nillable="true" type="xs:string" />
      <xs:element xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="lstObjects" nillable="true" type="q1:ArrayOfanyType" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="GeneralObject" nillable="true" type="tns:GeneralObject" />
  <xs:complexType name="CompositeType">
    <xs:sequence>
      <xs:element minOccurs="0" name="BoolValue" type="xs:boolean" />
      <xs:element minOccurs="0" name="StringValue" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CompositeType" nillable="true" type="tns:CompositeType" />
  <xs:complexType name="ArrayOfTHE_LOAI">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="THE_LOAI" nillable="true" type="tns:THE_LOAI" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfTHE_LOAI" nillable="true" type="tns:ArrayOfTHE_LOAI" />
  <xs:complexType name="THE_LOAI">
    <xs:sequence>
      <xs:element minOccurs="0" name="CongNo" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DanhMuc" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DoiTac" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GhiChu" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ID" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Kho" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Loai" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="MaPhieu" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NgayCapNhat" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="NgayThemMoi" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="NguoiCapNhat" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NguoiThemMoi" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RefID" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SOrder" nillable="true" type="xs:short" />
      <xs:element minOccurs="0" name="Ten" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="THE_LOAI" nillable="true" type="tns:THE_LOAI" />
  <xs:complexType name="CA_NHAN">
    <xs:sequence>
      <xs:element minOccurs="0" name="CMND" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ChucVu" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CongTy" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DanhXung" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DiaChi" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DienThoai" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DoTuoi" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Fax" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GhiChu" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GioiTinh" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="HanMucTinDung" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="HoTen" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ID" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LoaiCaNhan" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NgayCapNhat" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="NgayLamViec" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="NgaySinh" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="NgayThemMoi" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="NguoiCapNhat" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NguoiThemMoi" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PhongBan" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SuDung" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CA_NHAN" nillable="true" type="tns:CA_NHAN" />
  <xs:complexType name="ArrayOfCA_NHAN">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="CA_NHAN" nillable="true" type="tns:CA_NHAN" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCA_NHAN" nillable="true" type="tns:ArrayOfCA_NHAN" />
  <xs:complexType name="HANG_HOA">
    <xs:sequence>
      <xs:element minOccurs="0" name="DVT" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DanhMuc" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DinhLuong" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DonGia" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="DonGiaMua" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="DonGiaThue" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="DonGiaVon" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="GhiChu" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="HangSanXuat" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ID" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LoaiHang" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NgayCapNhat" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="NgayCapNhatGiaMua" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="NgayTaoLap" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="NgayThemMoi" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="NguoiCapNhat" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NguoiThemMoi" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NhaCungCap" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NuocSanXuat" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="QuiCach" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SuDung" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TenHangEN" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TenHangVN" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Thue" nillable="true" type="xs:short" />
      <xs:element minOccurs="0" name="TonToiThieu" nillable="true" type="xs:decimal" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="HANG_HOA" nillable="true" type="tns:HANG_HOA" />
  <xs:complexType name="ArrayOfHANG_HOA">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="HANG_HOA" nillable="true" type="tns:HANG_HOA" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfHANG_HOA" nillable="true" type="tns:ArrayOfHANG_HOA" />
  <xs:complexType name="CONG_TY">
    <xs:sequence>
      <xs:element minOccurs="0" name="ChamSoc" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DiaChi" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DienThoai" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Fax" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GhiChu" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GiaoHang1" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GiaoHang10" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GiaoHang11" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GiaoHang12" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GiaoHang13" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GiaoHang14" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GiaoHang15" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GiaoHang16" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GiaoHang17" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GiaoHang18" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GiaoHang19" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GiaoHang2" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GiaoHang20" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GiaoHang3" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GiaoHang4" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GiaoHang5" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GiaoHang6" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GiaoHang7" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GiaoHang8" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GiaoHang9" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="HanMucCongNo" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="HinhThucKD" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ID" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LinhVuc" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LoaiDoiTac" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LoaiHinh" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LoaiHoaDon" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="MST" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="MuaLanCuoi" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="MuaLanDau" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="NgayCapNhat" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="NgayRaHD" nillable="true" type="xs:short" />
      <xs:element minOccurs="0" name="NgayTT" nillable="true" type="xs:short" />
      <xs:element minOccurs="0" name="NgayThemMoi" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="NguoiCapNhat" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NguoiGoi" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NguoiMua" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NguoiTT" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NguoiThemMoi" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PhuTrach" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PhuongXa" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="QuanHuyen" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="QuocGia" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SuDung" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TenCongTy" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TenGiaoDich" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ThanhLap" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="ThoaThuan" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ThoiHanHD" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ThoiHanTT" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ThuocCongTy" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TinhTP" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Trich" nillable="true" type="xs:short" />
      <xs:element minOccurs="0" name="TuKhoa" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Website" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CONG_TY" nillable="true" type="tns:CONG_TY" />
  <xs:complexType name="ArrayOfCONG_TY">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="CONG_TY" nillable="true" type="tns:CONG_TY" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCONG_TY" nillable="true" type="tns:ArrayOfCONG_TY" />
  <xs:complexType name="ArrayOfPHIEU_NHAP">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="PHIEU_NHAP" nillable="true" type="tns:PHIEU_NHAP" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfPHIEU_NHAP" nillable="true" type="tns:ArrayOfPHIEU_NHAP" />
  <xs:complexType name="PHIEU_NHAP">
    <xs:sequence>
      <xs:element minOccurs="0" name="ChungTuGoc" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DienGiai" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ID" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="KhachHang" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Kho" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LoaiPhieu" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NVMuaHang" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NgayCapNhat" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="NgayLapPhieu" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="NgayThemMoi" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="NguoiCapNhat" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NguoiDaiDien" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NguoiThemMoi" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PhuongThucTT" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ThoiHanTT" nillable="true" type="xs:short" />
      <xs:element minOccurs="0" name="Thue" nillable="true" type="xs:short" />
      <xs:element minOccurs="0" name="TienHang" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="TienKeDGTra" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="TienThue" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="TienTrichTra" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="TongTien" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="Von" nillable="true" type="xs:decimal" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="PHIEU_NHAP" nillable="true" type="tns:PHIEU_NHAP" />
  <xs:complexType name="ArrayOfCHI_TIET_PHIEU_NHAP_Extend">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="CHI_TIET_PHIEU_NHAP_Extend" nillable="true" type="tns:CHI_TIET_PHIEU_NHAP_Extend" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCHI_TIET_PHIEU_NHAP_Extend" nillable="true" type="tns:ArrayOfCHI_TIET_PHIEU_NHAP_Extend" />
  <xs:complexType name="CHI_TIET_PHIEU_NHAP_Extend">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:CHI_TIET_PHIEU_NHAP">
        <xs:sequence>
          <xs:element minOccurs="0" name="Dvt" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="QuyCach" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="STT" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="TenHangHoaEN" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="TenHangHoaVI" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CHI_TIET_PHIEU_NHAP_Extend" nillable="true" type="tns:CHI_TIET_PHIEU_NHAP_Extend" />
  <xs:complexType name="CHI_TIET_PHIEU_NHAP">
    <xs:sequence>
      <xs:element minOccurs="0" name="DanhMuc" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DonGia" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="DonGiaChuan" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="DonGiaKeTra" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="DonGiaTra" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="HangHoa" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ID" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LoaiHang" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NO" type="xs:short" />
      <xs:element minOccurs="0" name="NgayCapNhat" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="NgayThemMoi" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="NguoiCapNhat" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NguoiThemMoi" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SoLuong" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="ThanhTien" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="TienKeDGTra" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="TienTrichTra" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="TrichTra" nillable="true" type="xs:short" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CHI_TIET_PHIEU_NHAP" nillable="true" type="tns:CHI_TIET_PHIEU_NHAP" />
</xs:schema>